package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) DictStore(ctx context.Context, req *v1.DictStoreReq) (res *v1.DictStoreRes, err error) {
	res = &v1.DictStoreRes{}
	err = service.SysDict().Store(ctx, &req.DictFormInput)
	return
}
